﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using RZD_maps.Modules.Console.ViewModels;

namespace RZD_maps.Modules.Console.Models
{
    public class Model
    {
        public ViewModel viewModel { get; set; }

        public void AddLog(string log)
        {
            viewModel.GetTextControl().Text = String.Format("{0}: {1}\n", DateTime.Now, log) + viewModel.GetTextControl().Text;
        }
    }
}
